package org.ubc.cs410.disposal2020.server;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class MapCreatorServlet extends HttpServlet {

	private static final long serialVersionUID = 1L;

	public void doGet(HttpServletRequest req, HttpServletResponse resp)
	throws IOException {
		// Template data
		Map<String, Object> root = new HashMap<String, Object>();

		// Page title
		root.put("title", "Map Creator");

		// Do the rendering
		ServletUtils.renderTemplate(getServletContext(), root, "MapCreator.ftl",
				resp, req.getRequestURI());
	}
}
